operator (-) Interface

public interface operator (-)

Module Procedures

public function torch_tensor_subtract(tensor1, tensor2) result(output)

Overloads subtraction operator for two tensors.

Arguments

Type IntentOptional Attributes Name
type(torch_tensor), intent(in) :: tensor1
type(torch_tensor), intent(in) :: tensor2

Return Value type(torch_tensor)